package com.quanyan.common.enums;

/**
 * Created by Kingson.chan on 2016/08/18 0017.
 */
public enum PlatformTypeEnum implements BaseEnum {
    IOS (1,"IOS","苹果"),
    ANDROID (2,"ANDROID","安卓"),
    WEIXIN (3,"WEIXIN","微信公众号"),
    H5 (4,"H5","H5网页"),
    BACKSTAGE (5,"BACKSTAGE","后台系统"),
    QQ (6,"QQ","QQ"),
    WEIXIN_APPLET (7,"WEIXIN_APPLET","微信小程序"),
    ;
    PlatformTypeEnum(int id, String code, String label){
        this.id = id;
        this.code = code;
        this.label = label;

    }

    private int id;

    private String code;

    private String label;
    @Override
    public boolean isSuccess() {
        return true;
    }

    @Override
    public int getId() {
        return this.id;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getLabel() {
        return this.label;
    }
}
